package com.dykj.fireFighting.api.base.maintenance.dto;

import com.dykj.fireFighting.api.base.bigdata.rcxc.entity.PatrolReportRecord;
import com.dykj.fireFighting.common.core.dto.CommonDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;


/**
 * @Description 紧急维保记录
 * @Author JacksonTu
 * @Date 2021-07-28 08:38:40
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "紧急维保记录")
public class UrgentMaintenanceDto extends CommonDto {
    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 设备id
     */
    @ApiModelProperty(value = "设备id")
    private String deviceId;

    @ApiModelProperty(value = "是否回复  0是1否")
    private String reply;
    /**
     * 设备位置
     */
    @ApiModelProperty(value = "设备位置")
    private String address;
    /**
     * 维保单位
     */
    @ApiModelProperty(value = "维保单位")
    private String maintenanceDept;
    /**
     * 预约单位（社会单位）
     */
    @ApiModelProperty(value = "预约单位（社会单位）")
    private String sociologyDept;
    /**
     * 维修状态(0已修好 1待处理 2维修中)
     */
    @ApiModelProperty(value = "维修状态(0已修好 1待处理 2维修中)")
    private Integer status;
    /**
     * 隐患（维修完成）整改有效时间
     */
    @ApiModelProperty(value = "隐患（维修完成）整改有效时间")
    private Integer hiddenDangerTime;
    /**
     * 整改是否有效
     */
    @ApiModelProperty(value = "整改是否有效")
    private Integer isEffective;
    /**
     * 整改时间
     */
    @ApiModelProperty(value = "整改时间")
    private Date rectificationDate;
    /**
     * 社会单位签字
     */
    @ApiModelProperty(value = "社会单位签字")
    private String sociologyDeptSign;
    /**
     * 社会单位意见
     */
    @ApiModelProperty(value = "社会单位意见")
    private String sociologyDeptSuggestion;
    /**
     * 维保评价得分
     */
    @ApiModelProperty(value = "维保评价得分")
    private Integer score;
    /**
     * 评价时间
     */
    @ApiModelProperty(value = "评价时间")
    private Date evaluationDate;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    private String isDel;
    private Date createDate;
    private String createBy;

    @ApiModelProperty(value = "巡更报告记录表")
    private List<PatrolReportRecord> patrolReportRecordList;

    @ApiModelProperty(value = "评价时间-年月日")
    private String evaluationTime;

    private String deviceName;
    private String beginTime;
    private String endTime;

}
